package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.Experience;
import com.xiaomei.manager.model.User;
import com.xiaomei.manager.web.dto.ActivityStateAndUserDto;
import com.xiaomei.manager.web.page.Page;

public interface ExperienceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Experience record);

    int insertSelective(Experience record);

    Experience selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Experience record);

    int updateByPrimaryKey(Experience record);
    
    List<Experience> selectAll();
    
    List<Experience> selectByParam(Page<Experience> page);
    
    List<Experience> selectByTicketType(String ticketType);
    
    Integer selectMaxId();

    List<ActivityStateAndUserDto> selectSignupUserByParam(Page<ActivityStateAndUserDto> page);
}